package com.gxa.www.cl.service.impl;

import com.gxa.www.cl.mapper.SaleStatisticMapper;
import com.gxa.www.cl.service.SaleStatisticService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Service
public class SaleStatisticServiceImpl implements SaleStatisticService {

    @Autowired
    private SaleStatisticMapper saleStatisticMapper;

    @Override
    public List<Map<String, Object>> getSaleStatistics(String category, String name, String date) {
        return saleStatisticMapper.getSaleStatistics(category, name, date);
    }
}

